package com.jn.erp.web.api.interaction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyp
 * @since 2024-10-10
 */
@Data
  @EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
    public class TIntegral implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 主键
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 创建者所属组织ID
     */
      private Long orgId;

      /**
     * 学员id
     */
      private Long studentId;

      /**
     * 积分配置id
     */
      private Long tId;

      /**
       * 类型1报名2点名3评论4手动发放
       */
      private Integer type;
      /**
     * 分数
     */
      private Long score;

      /**
     * 积分名名
     */
      private String name;

      /**
     * 备注
     */
      private String remark;

      /**
     * 创建时间
     */
      private LocalDateTime createDate;

      /**
     * 创建人
     */
      private String createUser;

      /**
     * 修改时间
     */
      private LocalDateTime updateDate;

      /**
     * 修改人
     */
      private String updateUser;

      /**
     * 是否删除 0否 1是
     */
      private String isDelete;

  public TIntegral(Long orgId, Long studentId, Long tId, Integer type, Long score, String name, String remark, LocalDateTime createDate, String createUser, LocalDateTime updateDate, String updateUser, String isDelete) {
    this.orgId = orgId;
    this.studentId = studentId;
    this.tId = tId;
    this.type = type;
    this.score = score;
    this.name = name;
    this.remark = remark;
    this.createDate = createDate;
    this.createUser = createUser;
    this.updateDate = updateDate;
    this.updateUser = updateUser;
    this.isDelete = isDelete;
  }
}
